import { http } from "@/http/http";

export function selectByParentCode(data) {
  return http.post("/api/area/selectByParentCode", data);
}
export function queryCompanyByAreaCode(data) {
  return http.post("/api/wx/api/queryCompanyByAreaCode", data);
}
export function uploadFile(data) {
  // const header = {
  //   'Content-Type': 'multipart/form-data',
  // }
  return http.post("/file/disk/upload", data);
}
export default {
  selectByParentCode,
  queryCompanyByAreaCode,
  uploadFile,
};
